
#ifndef MYMENUICONSTYLE_H
#define MYMENUICONSTYLE_H


#include <QObject>
#include <QProxyStyle>


class MyMenuIconStyle : public QProxyStyle
{
    Q_OBJECT
public:
    MyMenuIconStyle();
    ~MyMenuIconStyle();

    void SetCustomSize(int);
    virtual int pixelMetric(PixelMetric metric, const QStyleOption* option, const QWidget* widget) const;

private:
    int _iconSize = 20;

};

#endif // MYMENUICONSTYLE_H
